package nku.csc364.main;

import nku.csc364.R;
import nku.csc364.updatedatabase.UpdateDatabaseCategoryActivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class GraduateProjectActivity extends Activity {
    Button launchUpdateDatabaseButton, launchOrderRequestButton;
	
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

    }
    
    public void launchUpdateDatabaseActivity(View view){
    	Intent launchUpdateDatabase = new Intent(this, UpdateDatabaseCategoryActivity.class);
		startActivityForResult(launchUpdateDatabase, 0); 
    }
    
    public void launchOrderRequestActivity(View view){
    	Intent launchOrderRequest = new Intent(this, TakeCustomerOrderActivity.class);
		startActivityForResult(launchOrderRequest, 0);
    }
    
}